//
//  ZKPropertyButton.m
//  PetStore
//
//  Created by Teresa on 2019/10/19.
//  Copyright © 2019 petstore. All rights reserved.
//

#import "ZKPropertyButton.h"

@implementation ZKPropertyButton

- (void)setBorderColor:(UIColor *)borderColor{
    _borderColor = borderColor;
    self.layer.borderColor = borderColor.CGColor;
    
}
- (void)setBorderWidth:(CGFloat)borderWidth{
    _borderWidth = borderWidth;
    self.layer.borderWidth = borderWidth;
}
- (void)setCornerRadius:(CGFloat)cornerRadius{
    _cornerRadius = cornerRadius;
    self.layer.cornerRadius = cornerRadius;
    self.layer.masksToBounds = YES;
}

@end
